package com.xiaoshuidi.cloud.module.rooms.controller.admin.roomel.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;
import org.zxp.esclientrhl.annotation.ESMapping;
import org.zxp.esclientrhl.enums.DataType;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @Author: lss
 * @CreateTime: 2023-04-21 18:19
 * @Version: 1.0
 */

@Data
@Accessors(chain = true)
@Schema(description = "房源ES BASE 对象")
public class RoomelBaseVo {
    @Schema(description = "拼接全名")
    private String fullName;
    @Schema(description = "房间name")
    private String roomHouseName;

    //房间编号
    @Schema(description = "房间编号")
    private String roomHouseNo;

    //室号
    @Schema(description = "室号")
    private String houseNo;

    //核验码
    @Schema(description = "核验码")
    private String checkCode;

    @Schema(description = "核验码有效期")
    private String checkCodeInDate;

    @Schema(description = "房间的上级id（分散房源使用，集中房源为空）")
    private Long superId;

    @Schema(description = "小区编码")
    private Long apartmentAreaId;

    @Schema(description = "小区名称")
    private String apartmentAreaName;

    @Schema(description = "公寓名称")
    private String apartmentName;

    @Schema(description = "公寓id")
    private Long apartmentId;

    @Schema(description = "集中式判定")
    private Boolean isConcentrated;

    @Schema(description = "小区纬度")
    private String apartmentAreaLat;

    @Schema(description = "小区经度")
    private String apartmentAreaLon;

    @Schema(description = "门店纬度")
    private String apartmentLat;

    @Schema(description = "门店经度")
    private String apartmentLon;

    @Schema(description = "房源类型")
    private String sourceType;

    @Schema(description = "公寓楼层id")
    private Long floorId;

    @Schema(description = "楼栋号")
    private String buildingNo;

    //楼栋号
    private String unitNo;

    @Schema(description = "当前楼层")
    private Integer floorNo;

    @Schema(description = "总楼层")
    private Integer floorSum;

    @Schema(description = "城市")
    private String city;

    @Schema(description = "区域")
    private String district;

    @Schema(description = "街道")
    private String street;

    @Schema(description = "街道")
    private String address;

    @Schema(description = "小区名称")
    private String residence;

    @Schema(description = "房屋户型-室")
    private Integer bedroomNum;

    @Schema(description = "房屋户型-厅")
    private Integer livingroomNum;

    @Schema(description = "房屋户型-厨")
    private Integer kitchenNum;

    @Schema(description = "房屋户型-卫")
    private Integer toiletNum;

    @Schema(description = "房屋户型-阳台")
    private Integer balcony;

    @Schema(description = "户型ID")
    private Long roomHouseTypeId;

    @Schema(description = "户型名称")
    private String roomHouseTypeName;

    @Schema(description = "房型ID")
    private Long layoutId;

    @Schema(description = "房型名称")
    private String layoutName;

    @Schema(description = "朝向")
    private String facetoType;

    @Schema(description = "承租人姓名")
    private String tenantMainName;

    @Schema(description = "租客和同住人信息")
    private String tenantinfo;

    @Schema(description = "是否整租")
    private Boolean isWhole;

    @Schema(description = "面积")
    private Double space;

    @Schema(description = "价格")
    private Double price;

    @Schema(description = "装修情况")
    private String decoration;

    @Schema(description = "房态")
    private String houseState;

    // 是否已预定
    @Schema(description = "是否已预定")
    private Boolean isScheduled;

    @Schema(description = "合同信息的json")
    private String contractInfo;

    @Schema(description = "账单信息的json")
    private String billInfo;

    @Schema(description = "预定信息的json")
    private String preInfo;

    private Boolean isLock;

    @Schema(description = "是否停用")
    private Boolean isStop;

    @Schema(description = "是否是上次停用")
    private Boolean isLastStop;

    @Schema(description = "租户id")
    private Long tenantId;

    @Schema(description = "公共设施")
    private String publicFacilities;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "部门id")
    private Long deptId;

    @Schema(description = "房间类型")
    private String roomType;

    @Schema(description = "小区id")
    private Long roomAreaId;

    // 朝向
    @Schema(description = "朝向")
    private String toward;

    @Schema(description = "房源类型(用途): 办公室、住房")
    private String roomUsage;
    @Schema(description = "净房还是脏房")
    private Boolean isClean;
    @Schema(description = "是否维修房")
    private Boolean isRepair;

    @Schema(description = "面积")
    private Double proportion;
//    @Schema(description = "合同信息的json")
//    private Map<String,String> contractinfo;


}
